Skip to content

Conversation

@unixorn
Copy link
Owner

@unixorn unixorn commented Mar 9, 2019

Description

Add git-branch-rebaser

Type of changes

  • A helper script
  • A link to an external resource like a blog post or video
  • Text cleanups/updates

Checklist:

  • All new and existing tests pass.
  • Any scripts added use #!/usr/bin/env interpreter instead of potentially platform-specific direct paths (#!/bin/sh is an ok exception)\
  • Scripts are marked executable
  • I have added a credit line to README.md for the script
  • If there was no author credit in a script added in this PR, I have added one.
  • I have confirmed that the link(s) in my PR are valid.
  • I have read the CONTRIBUTING document.

License Acceptance

  • This repository is Apache version 2.0 licensed (some scripts may have alternate licensing inline in their code) and by making this PR, I am contributing my changes to the repository under the terms of the Apache 2 license.


set -o pipefail

exec git rebase -i $(git rev-parse $(git log master..$(git rev-parse --abbrev-ref HEAD) --oneline | tail -1 | awk '{ print $1 }')^)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quote this to prevent word splitting.


set -o pipefail

exec git rebase -i $(git rev-parse $(git log master..$(git rev-parse --abbrev-ref HEAD) --oneline | tail -1 | awk '{ print $1 }')^)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quote this to prevent word splitting.


set -o pipefail

exec git rebase -i $(git rev-parse $(git log master..$(git rev-parse --abbrev-ref HEAD) --oneline | tail -1 | awk '{ print $1 }')^)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quote this to prevent word splitting.

@qlty-cloud-legacy
Copy link

Code Climate has analyzed commit d1eee30 and detected 3 issues on this pull request.

Here's the issue category breakdown:

Category Count
Bug Risk 3

View more on Code Climate.

@unixorn unixorn changed the title Add Vengada Rangaraju's git-branch-rebaser Add @karthikRangaraju's git-branch-rebaser script Mar 9, 2019
@unixorn unixorn merged commit 0f2b98a into master Mar 10, 2019
@unixorn unixorn deleted the add-branch-smasher branch March 10, 2019 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants